-
-
Couldn't load subscription status.
- Fork 33.6k
crypto: simplify GetPublicOrPrivateKeyFromJs #26454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crypto: simplify GetPublicOrPrivateKeyFromJs #26454
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I felt it should have been an enum in the first place. :-)
|
Resume build: https://ci.nodejs.org/job/node-test-pull-request/21247/ |
|
Resume build: https://ci.nodejs.org/job/node-test-pull-request/21261/ |
|
Thanks for reviewing, everyone! Landed in 3e4e518. |
PR-URL: #26454 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Masashi Hirano <[email protected]>
PR-URL: nodejs#26454 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Masashi Hirano <[email protected]>
PR-URL: #26454 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Masashi Hirano <[email protected]>
The last argument is now always set to
truedue to #26278. This change removes said argument and its only usage in an assertion.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes